package com.itheima.d1_junit;

import org.junit.*;

public class StringUtilTest {


    @Test(timeout = 1000)
    public void printNumber() {
        StringUtil.printNumber("123");
        StringUtil.printNumber(null);
    }

    @Test
    public void getMaxIndex() {
        int max = StringUtil.getMaxIndex("迪卢克，rua...");
        System.out.println(max);

    }

    @BeforeClass
    public static void beforeClass() throws Exception {
        System.out.println("beforclass");
    }
    @AfterClass
    public static void afterClass() throws Exception {
        System.out.println("afterclass");
    }
}
